Example:jimport( 'joomla.application.module.helper' ); $module = JModuleHelper::getModule( 'mainmenu', 'Key Concepts' ); $attribs = array('style'=>'xhtml'); echo JModuleHelper::renderModule( $module, $attribs ); What is the purpose of the $attribs array?

Joomla - Online Exam Test Papers | Joomla - MCQs[multiple choice questions and answers ] | Joomla - Mock Test Papers | Joomla - Practice Papers | Joomla - Sample Test Papers |

Question:
Example:jimport( 'joomla.application.module.helper' );

$module = JModuleHelper::getModule( 'mainmenu', 'Key Concepts' );
$attribs = array('style'=>'xhtml');
echo JModuleHelper::renderModule( $module, $attribs );
What is the purpose of the $attribs array?

1.The $attribs array is passed in its entirety to the module chrome code since this method will generally be called during the processing of a <jdoc:include.../> tag in the template.

2.The $attribs array is used to assign a module to a position.<br>

3.both (a) and (b)

4.None of these

Posted Date:-2022-10-12 11:23:46


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!